package com.taogewan.imagedemo;

import androidx.appcompat.app.AppCompatActivity;

import android.os.Bundle;
import android.widget.ImageView;

import com.taogewan.imagedemo.imageloader.ImageLoaderManager;

public class MainActivity extends AppCompatActivity {

    private ImageView ivCover;

    @Override
    protected void onCreate(Bundle savedInstanceState) {
        super.onCreate(savedInstanceState);
        setContentView(R.layout.activity_main);
        ivCover = findViewById(R.id.ivCover);
        ImageLoaderManager.getInstance().getImageLoader().load(this, "https://dss0.bdstatic.com/70cFvHSh_Q1YnxGkpoWK1HF6hhy/it/u=1950846641,3729028697&fm=26&gp=0.jpg", ivCover);
    }
}
